﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DeployGames.TweenEngine
{
    public abstract class TweenCallback
    {
        public static int BEGIN = 0x01;
        public static int START = 0x02;
        public static int END = 0x04;
        public static int COMPLETE = 0x08;
        public static int BACK_BEGIN = 0x10;
        public static int BACK_START = 0x20;
        public static int BACK_END = 0x40;
        public static int BACK_COMPLETE = 0x80;
        public static int ANY_FORWARD = 0x0F;
        public static int ANY_BACKWARD = 0xF0;
        public static int ANY = 0xFF;

        public abstract void onEvent(int type, IBaseTween source);
    }
}
